class CreateEvents < ActiveRecord::Migration
  def self.up
    create_table :events do |t|
      t.string :event_type, :name, :description, :meeting_place, :contact, :contact_phone, :address, :city, :state, :zip
      t.integer :approved, :max_attendees
      t.float :hours
      t.datetime :date
      t.references :mic
      t.timestamps
    end
  end

  def self.down
    drop_table :events
  end
end
